﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.PointCloud.CUiPOCNewPointCloudCmd
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using Tecnomatix.Engineering;
using Tecnomatix.Engineering.Ui;


namespace DnProcessSimulateCommands.PointCloud;

public sealed class CUiPOCNewPointCloudCmd : TxButtonCommand
{
  private CUiPOCNewPointCloudEnabler m_enabler;

  public CUiPOCNewPointCloudCmd() => this.m_enabler = new CUiPOCNewPointCloudEnabler();

  public virtual string Category => PointCloudStringTable.CMD_POINT_CLOUD_CATEGORY;

  public virtual ITxImage Image => (ITxImage) TxImageManager.GetImageByKey("InsertPointClouds");

  public virtual string Name => PointCloudStringTable.CMD_POINT_CLOUD_NAME;

  public virtual string Tooltip => PointCloudStringTable.CMD_POINT_CLOUD_TOOLTIP;

  public virtual string Bitmap => "PointCloud.NewPointCloud.bmp";

  public virtual string Description => PointCloudStringTable.CMD_POINT_CLOUD_DESCRIPTION;

  public virtual bool Licensed => CApPointCloudUtilities.IsLicensed();

  public virtual ITxCommandEnabler CommandEnabler => (ITxCommandEnabler) this.m_enabler;

  public virtual void Execute(object cmdParams) => new CUiPOCInsertPointCloudDlg().ShowDialog();
}
